/**
 * This file is part of the FlexiTimer project.
 * 
 * Author: Florian Arndt <f.aarndt@web.de>
 *  	   Clemens Teichmann <>
 *
 * http://code.google.com/p/flexitimer/ 
 */

package flexitimer_client.calc;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import flexitimer_client.gui.frame;

public class deleteAction extends AbstractAction {

	private static deleteAction  instance  = null;
	
	public deleteAction() {
		super("Anzeige loeschen");
	}

	public static deleteAction getInstance() {
		if (instance == null) {
			instance = new deleteAction();
		}
		return instance;
	}

	public void actionPerformed(ActionEvent e) {
		frame.getInstance().deleteText();
	}
}
